<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./whitesquare/tool.js"></script>
    <script src="./whitesquare/Game.js"></script>
    <script src="./whitesquare/index.js"></script>
    <script>
        // 要求: 大方块中的内容不断y方向一直向下移动,点击黑块变白,每点击五个速度加快,当点到白块就停止下移,或者黑块碰到底也停止下移,弹窗游戏结束,停止移动
    </script>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        li{
            list-style: none;
        }
        input, .big_box{
            margin-left: 100px;
            margin-top: 50px;
        }
        .big_box{
            height: 400px;
            width: 400px;
            /* box-sizing: border-box; */
            border: 2px solid blue;
            position: relative;
            overflow: hidden;
        }
        .big_box ul li{
            height: 100px;
            width: 100px;
            box-sizing: border-box;
            border: 1px solid black;
            float: left;
        }
        .black{
            background-color: black;
        }
        .sqaure_box{
            width: 100%;
            height: 100%;
            position:absolute;
            top: -100px;
            /* margin-top: -45px; */
        }
        
    </style>
</head>
<body>

    <input type = "text" value = 0 disabled = 'disabled' id = "score">

    <div class="big_box">
        <div class="sqaure_box">
            <ul>
                <li class="black"></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
            <ul>
                <li></li>
                <li class="black"></li>
                <li></li>
                <li></li>
            </ul>
            <ul>
                <li></li>
                <li></li>
                <li class="black"></li>
                <li></li>
            </ul>
            <ul>
                <li></li>
                <li></li>
                <li></li>
                <li class="black"></li>
            </ul>
        </div>
    </div>

    
    
</body>
</html>